import request from "@/utils/request.js";
const common = {
	//是否注册/登录
	userIsRegister: data => request.post("/api/user/getIsRegister", data, {
		noAuth: true
	}),
	//账户注册
	userRegister: data => request.post("/api/user/wxRegister", data, {
		noAuth: true
	}),
	//获取首页数据
	getIndexData: data => request.post("/api/index/indexCourseLabel", data, {
		noAuth: true
	}),
	//获取轮播数据
	getBannerList: data => request.post("/api/index/banner", data, {
		noAuth: true
	}),
	//获取优惠券列表
	getCouponList: data => request.post("/api/user/couponAllList", data, {
		noAuth: true
	}),
	//获取协议
	getCommonAgreement: data => request.post("/api/common/getConfig", data, {
		noAuth: true
	}),
}
export default common;